package com.jakewharton.rxbinding4.component;

import com.google.auto.value.AutoValue;

import ohos.agp.components.PageSlider;

@AutoValue
public abstract class PageSliderPageSlidingEvent {
    public static PageSliderPageSlidingEvent create(
            PageSlider pageSlider, int itemPos, float itemPosOffset, int itemPosOffsetPixels) {
        return new AutoValue_PageSliderPageSlidingEvent(pageSlider, itemPos, itemPosOffset, itemPosOffsetPixels);
    }

    PageSliderPageSlidingEvent() {}

    public abstract PageSlider pageSlider();

    public abstract int itemPos();

    public abstract float itemPosOffset();

    public abstract int itemPosOffsetPixels();
}
